<template>
  <GwContent>
    <GwTitle>组件：页面部分</GwTitle>
    <UiSection label="默认">
      <el-input />
    </UiSection>

    <UiSection label="指定首次隐藏" :show="false">
      <el-input />
    </UiSection>

    <UiSection :label="on ? '可隐藏' : '不可隐藏'" :disabled="!on">
      <el-switch v-model="on" />
    </UiSection>
  </GwContent>
</template>

<script>
export default {
  name: 'DemoUiSection',
  data() {
    return {
      on: false
    }
  }
}
</script>

